package com.example.cachedesign.business.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@Entity(name = "student")
public class Student implements Serializable {
    @Id
    private Long id;
    private String username;
    private Integer age;
    private String phone;
}
